package com.example.sacdemo;

import com.zys.sac.core.helper.SecurityContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author junekzhong
 * @date 2023/12/25 13:54
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @Autowired
    private SecurityContext securityContext;

    @GetMapping("/manage")
    public String manage() {
        return "manage";
    }

    @GetMapping("/index")
    public String index() {
        return "index";
    }

}
